projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7981d
)
Fix a warning
author
Yosef Or Boczko
<yoseforb@gmail.com>
Wed, 9 Oct 2013 00:15:14 +0000
(
03:15
+0300)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 16 Oct 2013 00:11:30 +0000
(20:11 -0400)
The PangoWrapMode enum has identical layout to GtkWrapMode,
but using the two interchangably causes (justified) compiler
warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=709697
gtk/gtktextutil.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextutil.c
b/gtk/gtktextutil.c
index 93c755acee022bb22745837c8ef6805b71c1d342..32b41ae37b4b9ea495421e2ee350b988856ae32a 100644
(file)
--- a/
gtk/gtktextutil.c
+++ b/
gtk/gtktextutil.c
@@
-342,7
+342,7
@@
_gtk_text_util_create_rich_drag_icon (GtkWidget *widget,
}
style->direction = gtk_widget_get_direction (widget);
- style->wrap_mode =
PANGO
_WRAP_WORD_CHAR;
+ style->wrap_mode =
GTK
_WRAP_WORD_CHAR;
gtk_text_layout_set_default_style (layout, style);
gtk_text_attributes_unref (style);